Automatic Alignment in Higher-Order Probabilistic Programming Languages

نویسندگان

چکیده

Probabilistic Programming Languages (PPLs) allow users to encode statistical inference problems and automatically apply an algorithm solve them. Popular algorithms for PPLs, such as sequential Monte Carlo (SMC) Markov chain (MCMC), are built around checkpoints -- relevant events the during execution of a probabilistic program. Deciding location is, in current not done optimally. To this problem, we present static analysis technique that determines programs, relieving PPL task. The identifies set execute same order every program run they aligned. We formalize alignment, prove correctness analysis, implement part higher-order functional Miking CorePPL. By utilizing alignment design two novel variants: aligned SMC lightweight MCMC. show, through real-world experiments, significantly improve time accuracy compared standard versions

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Study in Higher-Order Programming Languages MS Thesis

This thesis describes some interplays between the specification and the implementation of higher-order programming languages. We first investigate a traditional implementation of Scheme (compiler, run-time machine). We then turn to Action Semantics. And finally we cross-fertilize these two approaches using both syntax-directed and type-directed partial evaluation and introducing an alternative ...

متن کامل

Automatic Parallelization of Higher-Order Languages in the Polytope

Automatic parallelization and reduction of memory requirement for functional programs have been two active research topics. In this paper, we address both issues simultaneously thanks to the polytope model, a framework originally crafted for the parallelization of imperative programs.

متن کامل

Efficient Probabilistic Programming Languages

In recent years, declarative programming languages specialized for probabilistic modeling has emerged as distinct class of languages. These languages are predominantly written by researchers in the machine learning field and concentrate on generalized MCMC inference algorithm. Unfortunately, all these languages are too slow for practical adoption. In my talk, I will outline several places where...

متن کامل

Higher-Order Logic Programming Languages with Constraints: A Semantics

A Kripke Semantics is defined for a higher-order logic programming language with constraints, based on Church’s Theory of Types and a generic constraint formalism. Our syntactic formal system, hoHH(C) (higher-order hereditary Harrop formulas with constraints), which extends λProlog’s logic, is shown sound and complete. A Kripke semantics for equational reasoning in the simply typed lambda-calcu...

متن کامل

Flexible and Practical Flow Analysis for Higher-Order Programming Languages

A flow analysis is a procedure for computing static information about programs. Such an analysis can infer information about a program even if the program does not terminate when executed. This is done by abstracting over the values computed and the primitives used to manipulate those values. The information inferred is necessarily approximate but can still be used to justify the correctness of...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2023

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-031-30044-8_20